﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ESupervision.Models
{
    public class MeetingNote
    {

        public int MeetingNoteID { get; set; }

        public int MeetingEventID { get; set; }

        [Required]
        public string UserID { get; set; }

        [Required]
        [DataType(DataType.DateTime)]
        [Display(Name = "Time")]
        public DateTime CreatedTime { get; set; }

        [Required]
        [MaxLength(4000)]
        public string Note { get; set; }

        [ForeignKey("UserID")]
        public virtual ApplicationUser User { get; set; }

        [ForeignKey("MeetingEventID")]
        public virtual MeetingEvent MeetingEvent { get; set; }
    }
}